package com.roncoo.ysq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuanshuaiqiang
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HomeBottompage implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "y_id", type = IdType.AUTO)
    @JsonProperty(value = "yId")
    private Integer yId;

    /**
     * 0为父级菜单1为子菜单
     */
    @JsonProperty(value = "yPid")
    private Integer yPid;

    /**
     * 标题
     */
    @JsonProperty(value = "bTitle")
    private String bTitle;

    /**
     * 0为正常1为禁用
     */
    @JsonProperty(value = "statusId")
    private Integer statusId;


    private List<HomeBottompage> children;

}
